package com.service.common.core.domain.entity;

import com.service.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.service.common.annotation.Excel;

/**
 * 班级评分对象 class_score
 *
 * @author service
 * @date 2024-05-02
 */
public class ClassScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 班级 */
    @Excel(name = "班级")
    private String classId;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String subjectName;

    /** 分数 */
    @Excel(name = "分数")
    private String score;

    /** 年度 */
    @Excel(name = "年度")
    private String period;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClassId(String classId)
    {
        this.classId = classId;
    }

    public String getClassId()
    {
        return classId;
    }
    public void setSubjectName(String subjectName)
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName()
    {
        return subjectName;
    }
    public void setScore(String score)
    {
        this.score = score;
    }

    public String getScore()
    {
        return score;
    }
    public void setPeriod(String period)
    {
        this.period = period;
    }

    public String getPeriod()
    {
        return period;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("classId", getClassId())
                .append("subjectName", getSubjectName())
                .append("score", getScore())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("period", getPeriod())
                .toString();
    }
}